package com.chen.palmar.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.google.gson.annotations.SerializedName;

import static android.R.attr.name;

/**
 * Created by chen on 2018/1/22.
 */

public class PayWXEntity {


    /**
     * resultCode : 1000
     * message : 
     * error : 
     * data : {"appid":"wxe23828c2955770a1","noncestr":"okatQqJVKHOXiSZdOEVBORX1pkGPZyOw","package":"Sign=WXPay","partnerid":"1496852352","prepayid":"wx20180122224218f3893396d40456621873","sign":"1230F8630E51897DFD20920B9418E7CC","timestamp":"1516631921"}
     * dataReserve1 : null
     * dataReserve2 : null
     * navigatePageNumbers : null
     */

    private int resultCode;
    private String message;
    private String error;
    private DataBean data;
    private String dataReserve1;
    private String dataReserve2;
    private String navigatePageNumbers;

    public int getResultCode() {
        return resultCode;
    }

    public void setResultCode(int resultCode) {
        this.resultCode = resultCode;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getError() {
        return error;
    }

    public void setError(String error) {
        this.error = error;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getDataReserve1() {
        return dataReserve1;
    }

    public void setDataReserve1(String dataReserve1) {
        this.dataReserve1 = dataReserve1;
    }

    public String getDataReserve2() {
        return dataReserve2;
    }

    public void setDataReserve2(String dataReserve2) {
        this.dataReserve2 = dataReserve2;
    }

    public String getNavigatePageNumbers() {
        return navigatePageNumbers;
    }

    public void setNavigatePageNumbers(String navigatePageNumbers) {
        this.navigatePageNumbers = navigatePageNumbers;
    }

    public static class DataBean {
        /**
         * appid : wxe23828c2955770a1
         * noncestr : okatQqJVKHOXiSZdOEVBORX1pkGPZyOw
         * package : Sign=WXPay
         * partnerid : 1496852352
         * prepayid : wx20180122224218f3893396d40456621873
         * sign : 1230F8630E51897DFD20920B9418E7CC
         * timestamp : 1516631921
         */

        private String appid;
        private String noncestr;
        @JSONField(name = "package")
        private String packageX;
        private String partnerid;
        private String prepayid;
        private String sign;
        private String timestamp;

        public String getAppid() {
            return appid;
        }

        public void setAppid(String appid) {
            this.appid = appid;
        }

        public String getNoncestr() {
            return noncestr;
        }

        public void setNoncestr(String noncestr) {
            this.noncestr = noncestr;
        }
        @JSONField(name = "package")
        public String getPackageX() {
            return packageX;
        }
        @JSONField(name = "package")
        public void setPackageX(String packageX) {
            this.packageX = packageX;
        }

        public String getPartnerid() {
            return partnerid;
        }

        public void setPartnerid(String partnerid) {
            this.partnerid = partnerid;
        }

        public String getPrepayid() {
            return prepayid;
        }

        public void setPrepayid(String prepayid) {
            this.prepayid = prepayid;
        }

        public String getSign() {
            return sign;
        }

        public void setSign(String sign) {
            this.sign = sign;
        }

        public String getTimestamp() {
            return timestamp;
        }

        public void setTimestamp(String timestamp) {
            this.timestamp = timestamp;
        }
    }
}
